using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cmc.RabbitMQ.Base
{
    public class QueueConfig
    {
        //public ExchangeConfig Exchange { get; set; }

        public  string ExchangeName { get; set; }

        /// <summary>
        /// 队列名称
        /// </summary>
        public string QueueName { get; set; }

        /// <summary>
        /// 路由
        /// </summary>
        public List<string> RoutingKey { get; set; }


        /// <summary>
        /// 是否持久化
        /// </summary>
        public bool IsDurable { get; set; }
    }
}
